import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;


public class MyMouseListener extends MouseAdapter
{
	TransparentPopupMenu tpm;
	public MyMouseListener(TransparentPopupMenu tpm)
	{
		super();
		this.tpm = tpm;
	}
	
	public void mouseMoved(MouseEvent me)
	{
		tpm.setLocation(me.getX(), me.getY());
	}
}
